home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ACD-SM10.ZIP
/
STATMAST.DOC
< prev
next >
Wrap
Text File
|
1994-11-17
|
3KB
|
55 lines
Stat-Master version 1.0 by Killean
I am surprised that know one has writen something like this before, but it
is really useful, especially for sysops who care about having nice-looking
stat screens or any screens for their BBS that contains MCI codes. Normally,
if you want your ansis to come out looking half-way decent without having text
pushed out of the way when information replaces MCI, you have to draw your
ansi and then go back under ansimation and put the codes in there respective
places in the ansi. Unfortunately, if a user aborts halfway through the ansi,
none of the infomation is seen since its not put in there till the very end.
Well, there's an easy way to circumvent this slight problem, so I wrote
this util to procure that 'on the fly' stat screen look. All you have to do
is use a text editor and for each MCI do this:
4H %UN C <-- usual method, everything after MCI
gets pushed to the side
4H s%UNuC C <-- now, the cursor position is saved,
MCI gets replaced, cursor position
is restored, and then moved to the
right 3 spots to allow for the
original MCI length.
Pretty easy concept, but just a pain in the ass to implement normally,
especially if you have like 20 MCIs in your ansi.
Now for the commandline:
STATMAST <filemask> <MCI code> <MCI length> <buffer length>
<filemask> - this is for which files you would like to convert. Files are
not over-writen, but renamed as '*.!' instead.
<MCI code> - just the first letter for all the MCI codes to be converted.
i.e. '%'
<MCI length> - lenght of the MCI code, including the first letter.
<buffer length> (optional) - This is a special situation for the program.
Sometimes you might have your MCI over-writing parts of your
ansi, such as if had a line of '.'s immeadiately after the
MCI. In this case, you need to specify the maximum length to be
allowed for the MCI to over-write.
Thats about it. Some experimenting might be needed to get the hang of it,
but I assure you, its definately worth it. I included a sample to look at if
you get confused.
Killean - ACiDic Staff / RG Alpha